package com.example.demo.service;

import com.example.demo.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface UserService {
    //List<User> queryByAge(int age);
    User save(User user);
    void deleteUserById(int id);
    User queryById(int id);
    List<User> queryAll();
}
